﻿<phone:PhoneApplicationPage x:Class="Studentpartners.Sightseeing.SightPage"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
                            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                            xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                            d:DesignHeight="768"
                            d:DesignWidth="480"
                            FontFamily="{StaticResource PhoneFontFamilyNormal}"
                            FontSize="{StaticResource PhoneFontSizeNormal}"
                            Foreground="{StaticResource PhoneForegroundBrush}"
                            Orientation="Portrait"
                            shell:SystemTray.IsVisible="True"
                            SupportedOrientations="Portrait"
                            mc:Ignorable="d">

    <!--  LayoutRoot  -->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <!--  Pivot  -->
        <controls:Pivot Title="{Binding Title}">
            <!--  Pivotelement eins  -->
            <controls:PivotItem Header="Details">
                <StackPanel>
                    <phone:WebBrowser Name="webbr"
                                      Height="410"
                                      Margin="12,0,12,20"
                                      Background="Black" />

                    <Button Click="Map_Click" Style="{StaticResource ListButtonStyle}">
                        <StackPanel>
                            <TextBlock Style="{StaticResource PhoneTextLargeStyle}" Text="Adresse" />
                            <TextBlock Margin="12,-6,12,0"
                                       Style="{StaticResource PhoneTextAccentStyle}"
                                       Text="Auf Karte anzeigen" />
                        </StackPanel>
                    </Button>

                    <Button Click="Route_Click" Style="{StaticResource ListButtonStyle}">
                        <StackPanel>
                            <TextBlock Style="{StaticResource PhoneTextLargeStyle}" Text="Wegbeschreibung" />
                            <TextBlock Margin="12,-6,12,0"
                                       Style="{StaticResource PhoneTextAccentStyle}"
                                       Text="Von meiner Position aus" />
                        </StackPanel>
                    </Button>
                </StackPanel>
            </controls:PivotItem>

            <!--  Pivotelement zwei  -->
            <!--
                <controls:PivotItem Header="Bilder">
                <Grid/>
                </controls:PivotItem>
            -->
        </controls:Pivot>
    </Grid>

</phone:PhoneApplicationPage>